package com.example.controller;

import com.example.config.NoWrapResponseAdvice;
import com.example.constant.Constant;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthController {

    @GetMapping("/check")
    @NoWrapResponseAdvice
    public String check() {
        return Constant.SUCCESS;
    }

}
